
class OscBlogSysCatalog {
  String name;//分类名称
  int id;//分类id
  int sort;//排列序号

  OscBlogSysCatalog({this.name, this.id, this.sort});

  OscBlogSysCatalog.fromJson(Map<String, dynamic> json) {
    name = json['name'];
    id = json['id'];
    sort = json['sort'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['name'] = this.name;
    data['id'] = this.id;
    data['sort'] = this.sort;
    return data;
  }
}